package services.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import orm.Users;
import orm.UsersMapper;
import services.UsersBiz;

@Service
public class UsersBizImpl implements UsersBiz {

	@Resource
	UsersMapper usersMapper;

	public int checkUserno(String user_no) {
		return usersMapper.checkUserno(user_no);
	}

	public void register(Users user) {
		usersMapper.register(user);
	}

	public Users login(String userNo, String userLogpwd) {
		return usersMapper.login(userNo, userLogpwd);
	}

}
